//接口：是一种能力一种约束
(function () {
    //输出姓名
    function showFullName(person) {
        return person.firstName + '-' + person.lastName;
    }
    //定义一个对象
    var person = {
        firstName: '东东',
        lastName: '西西'
    };
    console.log(showFullName(person))
})();
